-
Home
-
VidShop – Shoppable Videos for WooCommerce
-
1.0.0
-
Code
-
Classes
- Model
Total Complexity |
188 |
Dependencies |
12 |
Dependents |
5 |
Total lines |
1,304 |
Lines of code |
559 |
Logical lines of code |
316 |
Comment lines |
541 |
Methods |
63 |
Properties |
22 |
Methods 63
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
cast_attribute() |
B |
47 |
20 |
33 |
to_array() |
A |
47 |
14 |
36 |
load() |
A |
53 |
12 |
21 |
save() |
A |
50 |
9 |
28 |
get_attribute() |
A |
55 |
8 |
19 |
validate() |
S |
51 |
7 |
29 |
validate_or_fail() |
S |
57 |
6 |
17 |
is_fillable() |
S |
61 |
6 |
12 |
fill() |
S |
60 |
5 |
14 |
load_relation() |
S |
59 |
5 |
14 |
has_changes() |
S |
60 |
5 |
13 |
prepare_update_rules() |
S |
57 |
4 |
18 |
all() |
S |
58 |
4 |
16 |
update_timestamps() |
S |
65 |
5 |
9 |
get_first_error() |
S |
65 |
4 |
9 |
get_dirty_attributes() |
S |
64 |
4 |
9 |
delete() |
S |
60 |
3 |
14 |
refresh() |
S |
62 |
3 |
12 |
first_or_new() |
S |
62 |
3 |
11 |
find() |
S |
58 |
2 |
16 |
get_full_table_name() |
S |
65 |
3 |
10 |
update() |
S |
66 |
3 |
8 |
validator() |
S |
63 |
2 |
12 |
__construct() |
S |
66 |
2 |
9 |
create() |
S |
66 |
2 |
9 |
create_without_validation() |
S |
65 |
2 |
9 |
get_table_name() |
S |
72 |
2 |
6 |
get_accessor_attribute() |
S |
68 |
2 |
7 |
first_or_create() |
S |
68 |
2 |
7 |
fresh() |
S |
71 |
2 |
6 |
find_or_fail() |
S |
68 |
2 |
7 |
get_relation() |
S |
78 |
2 |
3 |
only() |
S |
69 |
2 |
7 |
except() |
S |
68 |
2 |
8 |
is_valid() |
S |
81 |
1 |
3 |
is_invalid() |
S |
80 |
1 |
3 |
get_errors() |
S |
82 |
1 |
3 |
save_without_validation() |
S |
80 |
1 |
3 |
get_table_instance() |
S |
82 |
1 |
3 |
belongs_to() |
S |
78 |
1 |
3 |
has_one() |
S |
78 |
1 |
3 |
has_many() |
S |
78 |
1 |
3 |
belongs_to_many() |
S |
77 |
1 |
3 |
set_attribute() |
S |
76 |
1 |
4 |
studly_case() |
S |
72 |
1 |
5 |
__get() |
S |
80 |
1 |
3 |
__set() |
S |
80 |
1 |
3 |
__isset() |
S |
79 |
1 |
3 |
get_key() |
S |
80 |
1 |
3 |
sync_original() |
S |
77 |
1 |
4 |
update_or_create() |
S |
70 |
1 |
6 |
query() |
S |
76 |
1 |
4 |
with() |
S |
79 |
1 |
3 |
with_map() |
S |
68 |
1 |
8 |
where() |
S |
78 |
1 |
3 |
where_in() |
S |
79 |
1 |
3 |
paginate() |
S |
79 |
1 |
3 |
simple_paginate() |
S |
79 |
1 |
3 |
count() |
S |
80 |
1 |
3 |
set_relation() |
S |
76 |
1 |
4 |
to_json() |
S |
80 |
1 |
3 |
jsonSerialize() |
S |
81 |
1 |
3 |
is_dirty() |
S |
80 |
1 |
3 |